/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.

Copyright (c) 2023-present Kaleidos INC
*/

/* stylelint-disable */

@import "tools/typography.css";

.description-content {
  @mixin font-paragraph;

  color: var(--color-gray80);

  & *::selection {
    background: #99cbdb;
    color: rgba(38, 44, 57, 1);
  }

  & ul {
    list-style-type: square;
    margin-block-end: 0;
    margin-block-start: var(--spacing-12);
  }

  & li {
    margin-block-end: 0;
    margin-block-start: var(--spacing-4);
  }

  & p {
    margin-block-end: 0;
    margin-block-start: var(--spacing-12);
  }

  & hr {
    margin-block-end: 0.5em;
    margin-block-start: 0;
  }

  & a {
    font-weight: 500;
    text-decoration: underline;
  }

  & p:first-child,
  & h1:first-child,
  & h2:first-child,
  & h3:first-child,
  & h4:first-child,
  & h5:first-child,
  & h6:first-child {
    margin-block-start: 0;
  }

  & h1,
  & h2,
  & h3,
  & h4,
  & h5,
  & h6 {
    font-family: "Ubuntu", sans-serif;
    margin-block-end: 0;
    margin-block-start: var(--spacing-24);
  }

  h6 {
    margin-block-start: var(--spacing-16);
  }

  & pre,
  & code {
    font-family: "Consolas", "Courier", monospace;
    line-height: 1.5;
  }

  & pre {
    margin-block-start: 0;
  }

  & ol {
    display: block;
    list-style-type: decimal;
    margin-block-end: 0;
    margin-block-start: var(--spacing-12);
    margin-inline-end: 0;
    margin-inline-start: 0;
    padding-inline-start: 1.4rem;
  }
}

figure.image {
  background: #f5f2f0;
  border: 1px solid gray;
  display: inline-block;
  margin-block: 0;
  margin-inline: 1px 2px;
}

figure.align-left {
  float: inline-start;
}

figure.align-right {
  float: inline-end;
}

figure.image img {
  margin-block: 8px 0;
  margin-inline: 8px;
}

figure.image figcaption {
  margin-block: 6px;
  margin-inline: 8px;
  text-align: center;
}

/*
Alignment using classes rather than inline styles
check out the "formats" option
*/

img.align-left {
  float: inline-start;
}

img.align-right {
  float: inline-end;
}

/*
* Premium Plugins CSS
*/

/* The Table of Contents Plugin */

.mce-toc {
  border: 1px solid gray;
}

.mce-toc h2 {
  margin: 4px;
}

.mce-toc li {
  list-style-type: none;
}

/* The Checklist Plugin */

.tox-checklist > li:not(.tox-checklist--hidden) {
  list-style: none;
  margin-block: 0.25em;
  margin-inline: 0;
  position: relative;
}

.tox-checklist > li:not(.tox-checklist--hidden)::before {
  block-size: 1em;
  content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");
  cursor: pointer;
  inline-size: 1em;
  margin-block-start: 0.125em;
  margin-inline-start: -1.5em;
  position: absolute;
}

.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before {
  content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");
}

/* The Page Embed plugin */

.tiny-pageembed--21by9,
.tiny-pageembed--16by9,
.tiny-pageembed--4by3,
.tiny-pageembed--1by1 {
  display: block;
  inline-size: 100%;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.tiny-pageembed--21by9 {
  padding-block-start: 42.857143%;
}

.tiny-pageembed--16by9 {
  padding-block-start: 56.25%;
}

.tiny-pageembed--4by3 {
  padding-block-start: 75%;
}

.tiny-pageembed--1by1 {
  padding-block-start: 100%;
}

.tiny-pageembed--21by9 iframe,
.tiny-pageembed--16by9 iframe,
.tiny-pageembed--4by3 iframe,
.tiny-pageembed--1by1 iframe {
  block-size: 100%;
  border: 0;
  inline-size: 100%;
  inset-block-start: 0;
  inset-inline-start: 0;
  position: absolute;
}

/* The Media Embed plugin */

.ephox-summary-card {
  border: 1px solid #aaa;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2),
    0 1px 5px 0 rgba(0, 0, 0, 0.12);
  margin-block-end: 1em;
  overflow: hidden;
  padding: 10px;
}

.ephox-summary-card a {
  color: inherit;
  text-decoration: none;
}

.ephox-summary-card a:visited {
  color: inherit;
}

.ephox-summary-card-title {
  display: block;
  font-size: 1.2em;
}

.ephox-summary-card-author {
  color: #999;
  display: block;
  margin-block-start: 0.5em;
}

.ephox-summary-card-website {
  color: #999;
  display: block;
  margin-block-start: 0.5em;
}

.ephox-summary-card-thumbnail {
  float: inline-end;
  margin-inline-start: 2em;
  max-block-size: 180px;
  max-inline-size: 180px;
}

.ephox-summary-card-description {
  display: block;
  margin-block-start: 0.5em;
}

/* The Footnotes plugin */

div.mce-footnotes hr {
  inline-size: 25%;
  margin-inline-end: auto;
  margin-inline-start: 0;
}

div.mce-footnotes li > a.mce-footnotes-backlink {
  text-decoration: none;
}

@media print {
  sup.mce-footnote a {
    color: black;
    text-decoration: none;
  }

  div.mce-footnotes {
    break-inside: avoid;
    inline-size: 100%;
  }

  div.mce-footnotes li > a.mce-footnotes-backlink {
    display: none;
  }
}
/* stylelint-enable */
